import Mock from 'mockjs'
import '@/mock/extend'
const BASE_URL = process.env.VUE_APP_API_BASE_URL

const organizationArr = Mock.mock({
    'list|100': [
        {
            'id|+1':1,
            'OrgName': '@csentence(5, 8)',
            'OrgAbb':'@csentence(3, 5)',
            'OrgType|1': '@integer(1,6)',
            'adminName': '@csentence(2, 4)',
            'mobile':  '@integer(12000000000,19999999999)',
            'OrgAdd': '@CITY',
        }
    ]
})

Mock.mock(`${BASE_URL}/organizationList`, 'post', () => {
     return organizationArr
})
